home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvibook / libtex / skip.c < prev    next >
C/C++ Source or Header  |  1994-03-18  |  748b  |  31 lines

  1. /*
  2.  * Copyright (c) 1987, 1989 University of Maryland
  3.  * Department of Computer Science.  All rights reserved.
  4.  * Permission to copy for any purpose is hereby granted
  5.  * so long as this copyright notice remains intact.
  6.  */
  7.  
  8. #ifndef lint
  9. static char rcsid[] = "$Header: /usr/src/local/tex/local/mctex/lib/RCS/skip.c,v 3.1 89/08/22 21:45:13 chris Exp $";
  10. #endif
  11.  
  12. #include <stdio.h>
  13. #include "types.h"
  14. #include "fio.h"
  15.  
  16. /*
  17.  * Skip a font definition.  The font number has already been consumed.
  18.  */
  19. SkipFontDef(fp)
  20.     register FILE *fp;
  21. {
  22.     register int i;
  23.  
  24.     (void) GetLong(fp);    /* checksum */
  25.     (void) GetLong(fp);    /* mag */
  26.     (void) GetLong(fp);    /* designsize */
  27.     i = UnSign8(GetByte(fp)) + UnSign8(GetByte(fp));
  28.     while (--i >= 0)
  29.         (void) GetByte(fp);
  30. }
  31.